package edu.sctu.practice.class01.zhangwang.day2015_10_08.text08;

/**
 * Created by Z_W on 2015/10/9.
 */
public class Car extends Vehicles {

    public int seats;

    public Car(String brand, String color, int seats) {
        super(brand, color);
        this.seats = seats;
    }

    public void showCar(){
        showInfo();
        System.out.println("汽车的座位有："+seats);
    }
}
